<?php

class User
{
        private $id;
        private $username;
        private $password;
        private $email;
        private $avatar;
        private $role;
        private $created_at;
        private $updated_at;

        public function getId()
        {
                return $this->id;
        }

        public function setId($id)
        {
                $this->id = $id;
                return $this;
        }

        public function getUsername()
        {
                return $this->username;
        }

        public function setUsername($username)
        {
                $this->username = $username;
                return $this;
        }

        public function getPassword()
        {
                return $this->password;
        }

        public function setPassword($password)
        {
                $this->password = $password;
                return $this;
        }

        public function getEmail()
        {
                return $this->email;
        }

        public function setEmail($email)
        {
                $this->email = $email;
                return $this;
        }

        public function getAvatar()
        {
                return $this->avatar;
        }

        public function setAvatar($avatar)
        {
                $this->avatar = $avatar;
                return $this;
        }

        public function getRole()
        {
                return $this->role;
        }

        public function setRole($role)
        {
                $this->role = $role;
                return $this;
        }

        public function getCreatedAt()
        {
                return $this->created_at;
        }

        public function setCreatedAt($created_at)
        {
                $this->created_at = $created_at;
                return $this;
        }

        public function getUpdatedAt()
        {
                return $this->updated_at;
        }

        public function setUpdatedAt($updated_at)
        {
                $this->updated_at = $updated_at;
                return $this;
        }
}